const api = {
	state: {
		// 全局变量接口
		api: {
			GLOBAL_auth_org_getOrgsByLogin: "/auth/org/getOrgsByLogin", //查询登录用户拥有的集团列表
			GLOBAL_auth_org_getOrgsByPhone: "/auth/org/getOrgsByPhone", //获取指定手机号所在的公司列表
			GLOBAL_loginV1: "/auth/user/loginV1", //登录接口（密码登录）
			GLOBAL_gkQss_initKey: "/gkQss/initKey", //国科量子
			GLOBAL_file_fileInfo_uploadAndGetFile: '/file/fileInfo/uploadAndGetFile', //单文件上传文件、附件
			GLOBAL_auth_appVersion_checkVersion: "/auth/appVersion/checkVersion", //检查app版本
			GLOBAL_auth_strategypassword_check: "/auth/strategypassword/check", //检测密码重置
			GLOBAL_file_fileInfo_uploadBase64: "/file/fileInfo/uploadBase64", //上传
			//首页
			GLOBAL_auth_appRotationImg_getAll: "/auth/appRotationImg/getAll", //查询已配置的轮播图列表
			GLOBAL_user_getPhoneIcons:"/auth/user/getPhoneIcons",//获取用户当前的所有图标
			//应用
			GLOBAL_auth_notice_getCountByNotViewedFromLogin: "/auth/notice/getCountByNotViewedFromLogin", //获取系统消息角标
			GLOBAL_application_getDataByOwner:'/application/application/getDataByOwner',//查询登录用户待审计/待审批/待授权/待处理申请单 信息
			GLOBAL_auth_notice_getNoticesByUser: "/auth/notice/getNoticesByUser", //系统消息
			GLOBAL_device_disassemblyRecordInfo_getInfoByNoticeId: "/device/disassemblyRecordInfo/getInfoByNoticeId", //拆章详情
			//审批
			GLOBAL_application_getNotApprovedByOwn: '/application/application/getNotApprovedByOwn', //获取待审批列表
			GLOBAL_application_getApprovedByOwn: '/application/application/getApprovedByOwn', //获取已审批列表
			GLOBAL_application_getCCByOwn: '/application/application/getCCByOwn', // 抄送我
			GLOBAL_application_getManagerApplicationById: '/application/application/getManagerApplicationById', //审批处理详情
			GLOBAL_application_applicationNode_getNextOptionalNode: '/application/applicationNode/getNextOptionalNode', //自选
			GLOBAL_applicationManager_managerOK: '/application/applicationNode/managerOK', //审批同意
			GLOBAL_applicationManager_managerFail: '/application/applicationNode/managerFail', //审批驳回
			GLOBAL_applicationManager_managerTrans: '/application/applicationNode/managerTrans', //审批转交中
			GLOBAL_user_getOrganizationalToApplicationForm: '/auth/user/getOrganizationalToApplicationForm', //查询审批人列表
			GLOBAL_application_node_history_findHistoryList:'/application/node/history/findHistoryList', //{applicationNodeId}查询审批流转历史
			//授权
			GLOBAL_application_getUnAuthorizedByOwn: '/application/application/getUnAuthorizedByOwn', //获取待授权列表
			GLOBAL_application_getAuthorizedByOwn: '/application/application/getAuthorizedByOwn', //获取已授权列表
			GLOBAL_application_getKeeperApplicationById: '/application/application/getKeeperApplicationById', //授权处理详情
			GLOBAL_application_getNearestApplication: '/application/application/getNearestApplication', //获取最近一次申请单信息
			GLOBAL_applicationKeeper_keeperOK: '/application/applicationNode/keeperOK', //授权同意
			GLOBAL_applicationKeeper_KeeperFAIL: '/application/applicationNode/keeperFAIL', //授权拒绝
			//审计
			GLOBAL_application_getNotAuditedByOwn: '/application/application/getNotAuditedByOwn', //获取待审计列表
			GLOBAL_application_getAuditedByOwn: '/application/application/getAuditedByOwn', //获取已审计列表
			GLOBAL_application_getAuditorApplicationById: '/application/application/getAuditorApplicationById', //审计处理详情
			GLOBAL_applicationAuditor_auditorOK: '/application/applicationNode/auditorOK', //正常
			GLOBAL_applicationAuditor_auditorFAIL: '/application/applicationNode/auditorFAIL', //异常
			GLOBAL_applicationDealLog_getByApplication: '/application/applicationNode/getByApplication', //获取审批流程
			GLOBAL_sealRecordInfo_getVoByApplicationId: '/device/sealRecordInfo/getVoByApplicationId', //手机端获取用印记录
			//我的申请
			GLOBAL_application_getByOwnerApplications: "/application/application/getByOwnerApplications", //我的申请
			GLOBAL_application_getByMyApplication: "/application/application/getByMyApplication", //查询申请单详情
			GLOBAL_application_application_cancelApplication: "/application/application/cancelApplication", //取消申请单
			GLOBAL_application_application_exitApplication: "/application/application/exitApplication", //提交审计
			GLOBAL_applicationKeeper_pushApplicationToSignet: '/application/application/pushApplicationToSignet', //授权推送
			GLOBAL_applicationKeeper_endApplicationToSignet: '/application/application/endApplicationToSignet', //推送结束
			GLOBAL_application_application_authorizationCode: '/application/application/authorizationCode', //授权码
			//使用记录
			GLOBAL_deviceType_getByOrgToApp: '/device/deviceType/getByOrgToApp', //获取印章类别(使用记录)
			GLOBAL_sealRecordInfo_searchInfoListByKeyword: '/device/sealRecordInfo/searchInfoListByKeyword',//搜索
			GLOBAL_sealRecordInfo_searchNextAndPreInfoByKeyword: '/device/sealRecordInfo/searchNextAndPreInfoByKeyword',//查询指定使用记录
			GLOBAL_application_getBySealRecordInfoToBind: '/application/application/getBySealRecordInfoToBind',//查询指定使用记录可以绑定的申请单列表
			GLOBAL_sealRecordInfo_banding: '/device/sealRecordInfo/banding',//绑定申请单
			GLOBAL_device_sealRecordInfo_getBySignetId: '/device/sealRecordInfo/getBySignetId', //使用记录
			GLOBAL_device_sealRecordInfo_customRemark: "/device/sealRecordInfo/customRemark", //备注
			GLOBAL_fileTemp_uploadFile: '/file/fileInfo/uploadFile', //单文件上传文件、附件
			GLOBAL_sealRecordInfo_replenishInfo: '/device/sealRecordInfo/replenishInfo',//不拍照片
			//查看原图
			GLOBAL_file_fileInfo_getOriginalPictureURLByFileId: '/file/fileInfo/getOriginalPictureURLByFileId', //查询指定文件的访问路径URL
			//申请用章
			GLOBAL_signet_getByAddressList:"/device/signet/getByAddressList", //查询当前公司印章列表(通讯录格式)
			GLOBAL_signet_getBoundToHighDevices:"/device/signet/getBoundToHighDevices", //查询当前公司印章列表(ocr通讯录格式)
			GLOBAL_flow_getByOwnerToAddress:"/application/flow/getByOwnerToAddress", //查询当前公司审批流程列表(通讯录格式)
			GLOBAL_auth_department_getDepartmentsByLogin: '/auth/department/getDepartmentsByLogin', //查询用户所属组织列表
			GLOBAL_application_application_add: '/application/application/add', //创建申请单
			GLOBAL_application_type_findSimpleList: '/application/type/findSimpleList', //申请单类型
			GLOBAL_application_type_findSealUserInfos:'/application/type/findSealUserInfos',//专人用章
			//我的印章
			GLOBAL_deviceType_getByOrg: '/device/deviceType/getByOrg', //获取印章类别(我的印章)
			GLOBAL_signet_getByOrg: '/device/signet/getBySignetType',//查询当前登录用户公司印章列表
			GLOBAL_signet_getBySignet: '/device/signet/getBySignet', //印章详细信息

			GLOBAL_device_signet_openPatternFinger:"/device/signet/openPatternFinger",//指纹模式是否开启
			GLOBAL_device_signet_setDormancy:"/device/signet/setDormancy",//印章休眠时间
			GLOBAL_device_signet_setRemoteLock:"/device/signet/setRemoteLock",//远程锁定
			GLOBAL_device_signet_installationChapterHead: '/device/signet/installationChapterHead', //远程装章
			GLOBAL_device_signet_ocrSwitch: '/device/signet/ocrSwitch', //ocr切换
			GLOBAL_device_dingSignet_updateDeviceAutoLockSeconds: '/device/dingSignet/updateDeviceAutoLockSeconds', //上锁时间
			// wifi设置
			GLOBAL_signet_getWifiList: '/device/signet/getWifiList', //查询印章附件wifi列表
			GLOBAL_signet_setWifiLink: '/device/signet/setWifiLink', //wifi连接
			GLOBAL_signet_closeWifi: '/device/signet/closeWifi', //wifi断开
			//设备
			GLOBAL_auth_department_getBindDepartments:"/auth/department/getBindDepartments",//获取公司列表
			GLOBAL_signet_findBySn: '/device/dingSignet/findBySn', //印章详细信息传sn
			GLOBAL_device_signet_bindDevice: '/device/dingSignet/bindDevice', //设备绑定
			GLOBAL_device_dingSignet_checkBindPermissions: '/device/dingSignet/checkBindPermissions', //检查登录用户是否允许使用设备
			GLOBAL_device_dingSignet_unbinding: '/device/dingSignet/unbinding', //解绑设备
			GLOBAL_device_dingSignet_idUse: '/device/dingSignet/idUse', //临时用章
			GLOBAL_device_signet_unlock: "/device/signet/unlock", //手动解锁
			GLOBAL_auth_user_getFingerUserBySignet: '/auth/user/getFingerUserBySignet', //查询未录入的用户列表信息
			GLOBAL_device_finger_fingerPrint: '/device/finger/fingerPrint', //指纹录入
			GLOBAL_device_finger_cleanOne: '/device/finger/cleanOne', //指纹删除
			GLOBAL_device_finger_cleanAll: '/device/finger/cleanAll', //指纹全部清空
			GLOBAL_device_signet_update: '/device/signet/update', //编辑完成
			GLOBAL_device_deviceType_getByOrg: '/device/deviceType/getByOrg', //获取印章类别(我的印章)
			GLOBAL_auth_user_getAuditorsByUpdateDevice: '/auth/user/getAuditorsByUpdateDevice', //查询可作为'印章审计员'员工列表
			GLOBAL_auth_user_getKeepersToUpdateDevice: '/auth/user/getKeepersToUpdateDevice', //查询可作为'印章管理员'员工列表
			GLOBAL_file_fileInfo_quantumCryptographyPretreatment: '/file/fileInfo/quantumCryptographyPretreatment', //明文加密
			GLOBAL_device_signet_remoteUnlock: '/device/signet/remoteUnlock', //远程解锁
			//我的
			GLOBAL_auth_user_get: "/auth/user/get", //获取用户信息
			GLOBAL_auth_user_logout: "/auth/user/logout", //用户登出
			GLOBAL_auth_user_myUpdate: "/auth/user/myUpdate", //修改用户资料
			GLOBAL_auth_strategypassword_getTips:'/auth/strategypassword/getTips',//获取当前密码策略提示信息
			GLOBAL_auth_user_changePasswordV1: "/auth/user/changePasswordV1", //修改密码
			GLOBAL_personal_center_edit: "personal/center/edit", //修改个人信息
			//首页
			GLOBAL_auth_user_changeOrg: "/auth/user/changeOrg", //切换组织
			GLOBAL_auth_org_dir: "/auth/org/dir", //公司编码
			GLOBAL_auth_user_getPhoneCode: "/auth/user/getPhoneCode", //获取手机验证码
			GLOBAL_auth_strategypassword_getTipsByCode:'/auth/strategypassword/getTipsByCode',//组织code获取当前密码策略提示信息
			GLOBAL_auth_user_reg: '/auth/user/reg', //注册
			GLOBAL_auth_user_resetPwd: "/auth/user/resetPwd", //重置密码
			GLOBAL_auth_user_updatePhoneShortcuts:"/auth/user/updatePhoneShortcuts", // 更新 参数：phoneIcons 里面放图标模板的id
			//组织
			GLOBAL_auth_department_getLevelsByOrg: '/auth/department/getLevelsByOrg', //查询该公司下所有部门(以级联层级结构展示)
			//蓝牙
			GLOBAL_device_dingSignet_synchronizeUse: '/device/dingSignet/synchronizeUse', //同步申请单用印次数
			//远程控制
			GLOBAL_device_signet_cameraSwitch: '/device/signet/cameraSwitch', //摄像头开关
			GLOBAL_device_dingSignet_updateSoftVersion: '/device/dingSignet/updateSoftVersion', //上报设备版本号
			GLOBAL_device_signet_switchHighProfileCamera: '/device/signet/switchHighProfileCamera', //ocr
			// 安全认证
			GLOBAL_sysUserCert_create: '/sysUserCert/create', //创建
			GLOBAL_sysUserCert_edit: '/sysUserCert/edit', //修改
			GLOBAL_sysUserCert_validate: '/sysUserCert/validate', //验证
			GLOBAL_sysUserCert_reset: '/sysUserCert/reset', //重置密码
			//智能ocr
			GLOBAL_application_application_findApplicationList: '/application/application/findApplicationList',
			GLOBAL_deviceThreshold_findOcrThreshold: '/deviceThreshold/findOcrThreshold',   // OCR告警值查询
			GLOBAL_ocr_ocrResult_findCompareResult: "/ocr/ocrResult/findCompareResult",   // 查询申请单的使用记录文本相似度对比结果

			//电子印章
			GLOBAL_app_application_findApplicationList: '/owner/application/findApplicationList', //查询申请单列表
			GLOBAL_app_application_findApplicationDetails: '/owner/application/findApplicationDetails', //查询申请单详情
			//电子申请用章
			GLOBAL_app_electronic_contract_findAvailableContractList: '/app/application/seal/findAvailableContractList', //查询可申请的合同列表
			GLOBAL_electronic_enterprise_application_findAvailableElectronicList:'/electronic/enterprise/application/findAvailableElectronicList', //可用(申请)电子印章列表
			GLOBAL_electronic_enterprise_application_findFlowList:'/app/application/seal/findFlowList', //申请电子印章的审批流程列表
			GLOBAL_electronic_enterprise_application_findManagerList:'/app/application/seal/findManagerList', //审批人列表
			GLOBAL_electronic_enterprise_application_createEnterpriseElectronicSealApplication:'/app/application/seal/createEnterpriseElectronicSealApplication', //提交企业电子印章的用印申请
			//企业
			GLOBAL_electronic_enterprise_findList: '/app/electronic/enterprise/findList', //列表查询
			//企业合同
			GLOBAL_electronic_enterprise_contract_find:'/owner/application/findEnterpriseContractDetail', //{enterpriseApplicationId}企业合同详情
			GLOBAL_owner_application_sign:'/owner/application/sign', //签署
			GLOBAL_electronic_enterprise_contract_save:'/owner/application/save', //保存
			//使用记录
			GLOBAL_electronic_seal_info_findList: '/app/electronic/seal/info/findList', //使用记录
			GLOBAL_electronic_seal_info_findContractDetail: '/app/electronic/seal/info/findContractDetail', //合同详情
			GLOBAL_electronic_seal_findList: '/app/electronic/seal/findList', //列表查询
			GLOBAL_electronic_helper_findCABindStatusList: '/electronic/helper/findCABindStatusList', //CA证书状态列表
			GLOBAL_electronic_seal_findSealInfoList: '/app/electronic/seal/findSealInfoList', //查询电子印章使用记录
			GLOBAL_electronic_enterprise_contract_findList: '/app/electronic/enterprise/contract/findList', //企业合同列表
			GLOBAL_electronic_helper_findEnterpriseContractStatusList:'/electronic/helper/findEnterpriseContractStatusList', //企业合同状态列表
			GLOBAL_electronic_enterprise_contract_refused: '/app/electronic/enterprise/contract/refused', //拒绝签署
			GLOBAL_electronic_enterprise_contract_remark: '/app/electronic/enterprise/contract/remark', //备注
			GLOBAL_electronic_contract_findEnterpriseLiaisonList: '/app/electronic/contract/findEnterpriseLiaisonList', //查询企业签署方列表
			GLOBAL_electronic_contract_create: '/app/electronic/contract/create', //新增合同
			GLOBAL_electronic_contract_file_uploadContractFile:'/app/electronic/contract/file/uploadContractFile', //上传合同文件
			GLOBAL_app_electronic_contract_file_uploadContractFileBase64Code: '/app/electronic/contract/file/uploadContractFileBase64Code', //上传合同文件
			GLOBAL_app_electronic_enterprise_contract_findEnterpriseContractInfo: '/app/electronic/enterprise/contract/findEnterpriseContractInfo', //预览
			GLOBAL_electronic_contract_downloadContract: '/app/downloadContract', //{contractId}下载合同
			GLOBAL_electronic_enterprise_contract_extract: '/app/electronic/enterprise/contract/extract', //提取合同
			GLOBAL_device_signet_findDeviceInfo: '/device/signet/findDeviceInfo', //{deviceId}实体设备详情
			//电子验证码
			GLOBAL_electronic_message_authenticationCode_sendSMSAuthenticationCode: '/electronic/message/authenticationCode/sendSMSAuthenticationCode', //{enterpriseApplicationId}发送短信验证码
			GLOBAL_electronic_message_authenticationCode_verifySMSAuthenticationCode: '/electronic/message/authenticationCode/verifySMSAuthenticationCode', //{authenticationCode}确认短信验证码
			GLOBAL_electronic_enterprise_application_applyCaAuthorized: '/electronic/enterprise/application/applyCaAuthorized', //{enterpriseApplicationId}请求CA授权
			GLOBAL_electronic_enterprise_application_findAuthorized: '/electronic/enterprise/application/findAuthorized', //{enterpriseApplicationId}查询企业申请单授权状态
			//ocr告警
			GLOBAL_app_notice_alarm: '/app/notice/alarm', //角标
			GLOBAL_app_notice_getNoticesByUser: '/app/notice/getNoticesByUser', //系统消息
			GLOBAL_app_notice_checkNoticeV2: '/app/notice/checkNoticeV2', //消息详情
			GLOBAL_app_notice_getInfoByNoticeId: '/app/notice/getInfoByNoticeId', //拆卸详情
			GLOBAL_app_notice_tagRead: '/app/notice/tagRead', //全部已读
			GLOBAL_app_notice_allRead: '/auth/notice/allRead', //全部已读
			//注销
			GLOBAL_app_logout_getPhoneCode: '/app/logout/getPhoneCode', //获取验证码
			GLOBAL_app_logout_logoutValidation: '/app/logout/logoutValidation', //校验验证码
			GLOBAL_auth_user_cancel: "/auth/user/cancel", //账号注销
			GLOBAL_app_logout_logoutUsernameValidation: "/app/logout/logoutUsernameValidation", //账号验证

		}
	},
	mutations: {
		SET_BREADCRUMB: (state, breadcrumb) => {
			state.breadcrumb = breadcrumb
		},
	},
	actions: {
		SET_BREADCRUMB({
			commit
		}, userInfo) {
			return new Promise((resolve, reject) => {
				commit('SET_BREADCRUMB')
				resolve()
			})
		}
	}
}

export default api
